package com.luyuan.crm.member.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.member.model.Member;
import com.luyuan.crm.member.model.MemberIntegralReceived;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface MemberIntegralReceivedService {
    /**
    * <p>Description: 清除过期日志             </p>
    * <p>Create Time: 2013-4-27   </p>
    * @author Administrator
    */
    void clearOverDateIntegral();

    void addMemberIntegralReceived(MemberIntegralReceived memberIntegralBestowed);

    int sumReceiveMemberIntegral(Member member);

    List<MemberIntegralReceived> receiveMemberIntegral(Member member, String remark);

    Page pagedQuery(CriteriaTemplate c, int page, int pageSize, List<Order> orders);
}
